﻿using System.Text.Json.Serialization;

namespace SMCL.Core.Utils.Auth.Json
{
    public class UserAuthenticateResponse
    {
        [JsonInclude, JsonPropertyName("IssueInstant")]
        public DateTime IssueInstant { get; set; }
        [JsonInclude, JsonPropertyName("NotAfter")]
        public DateTime NotAfter { get; set; }
        [JsonInclude, JsonPropertyName("Token")]
        public string Token { get; set; }
        [JsonInclude, JsonPropertyName("DisplayClaims")]
        public DisplayClaims DisplayClaims { get; set; }
    }

    public class DisplayClaims
    {
        [JsonInclude, JsonPropertyName("xui")]
        public List<Xui> Xui { get; set; }
    }

    public class Xui
    {
        [JsonInclude, JsonPropertyName("uhs")]
        public string UserHash { get; set; }
    }

}
